package com.cyj.dream.workflow.activiti.config;

import com.cyj.dream.core.util.user.UUIDUtils;
import org.activiti.engine.impl.cfg.IdGenerator;

import java.util.UUID;

/**
 * @Auther: Ace Lee
 * @Date: 2019/3/11 16:05
 */
public class MyIdGenerator implements IdGenerator {

    @Override
    public String getNextId() {
        String uuid = UUIDUtils.getUUIDNoHave();
        return uuid;
    }

}